import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import Login from './Login'
import Tool from './Tool'
import Article from './Article'
import Setting from './Setting'
import Init from './Init'
import Search from './Search'
import Personal from './Personal'
import Error from './Error'
import Discuss from './Discuss'
import Chat from './Chat'
import Inform from './Inform'
import Music from './Music'
import Home from './Home'
import Report from './Report'
import ArticleDetail from './ArticleDetail'
import Square from './Square'
export default new Vuex.Store({
  modules: {
    Login,
    Tool,
    Article,
    Setting,
    Init,
    Search,
    Personal,
    Error,
    Discuss,
    Chat,
    Inform,
    Music,
    Home,
    ArticleDetail,
    Report,
    Square
  }
})
